Screenshots

an extension that takes screenshots when key (default is spacebar) is pressed

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun afterDraw(drawer: Drawer, program: Program)
Link copied to clipboard
open fun beforeDraw(drawer: Drawer, program: Program)
Link copied to clipboard
open override fun setup(program: Program)
Link copied to clipboard
open fun shutdown(program: Program)
Link copied to clipboard
fun trigger()

Trigger screenshot creation

Properties

Link copied to clipboard

Event that is triggered after contents have been drawn and the screenshot has been committed to file

Link copied to clipboard

Event that is triggered just before drawing the contents for the screenshot

Link copied to clipboard
open override var enabled: Boolean
Link copied to clipboard
var key: String

the key that should be pressed to take a screenshot

Link copied to clipboard
Link copied to clipboard
var name: String?

override automatic naming for screenshot